Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(platform): Support manually setting up webhooks #8750

Merged
merged 109 commits into from
Dec 18, 2024

Conversation

ntindle
Copy link
Member

@ntindle ntindle commented Nov 24, 2024

The webhooks system as is works really well for full blown enterprise webhooks managed via a UI. It does not work for more "chill guy" webhook tools that just send notifications sometimes.

Changes 🏗️

  • feat(blocks): Add Compass transcription trigger block

  • feat(backend): Amend webhooks system to support manual-set-up webhooks

    • Make event filter input optional on webhook-triggered nodes
    • Make credentials optional on webhook-triggered nodes
    • Add code path to re-use existing manual webhook on graph update
    • Add ManualWebhookManagerBase
  • feat(frontend): Add UI to pass webhook URL to user on manual-set-up webhook blocks
    image

  • fix(backend): Strip webhook info from node objects for graph export

  • refactor(backend): Rename backend.integrations.webhooks.base to ._base

Pwuts and others added 30 commits October 17, 2024 00:11
…inier/open-1961-implement-github-on-pull-request-block
…inier/open-1961-implement-github-on-pull-request-block
@Pwuts Pwuts requested a review from Bentlybro December 12, 2024 14:17
@Pwuts Pwuts force-pushed the exploration/other-types-of-hooks branch from 9cc9579 to c54c52a Compare December 12, 2024 14:20
@ntindle
Copy link
Member Author

ntindle commented Dec 12, 2024

Works but overflows box for me
image

@ntindle
Copy link
Member Author

ntindle commented Dec 12, 2024

The active status icons don't appear here which is weird

@ntindle
Copy link
Member Author

ntindle commented Dec 12, 2024

This is in the export

"webhook": {
    "id": "a6ba1a21-e2d2-40e3-8895-8e407fbe5b9d",
    "user_id": "eb3beaac-09ee-4f97-beee-1ac37f7dd93a",
    "provider": "compass",
    "credentials_id": "",
    "webhook_type": "transcription",
    "resource": "",
    "events": [],
    "config": {},
    "secret": "4d36c1efda70ac47d73de1e6462ab33d0778504a4d3e0cad8d63258c15919232",
    "provider_webhook_id": "",
    "attached_nodes": null,
    "url": "https://prompt-neat-flea.ngrok-free.app/api/integrations/compass/webhooks/a6ba1a21-e2d2-40e3-8895-8e407fbe5b9d/ingress"
}

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Dec 13, 2024
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@Pwuts
Copy link
Member

Pwuts commented Dec 17, 2024

The active status icons don't appear here which is weird

Fixed: 6ffef4e (#8750)

@Pwuts
Copy link
Member

Pwuts commented Dec 17, 2024

Works but overflows box for me

Not for me 🤔
image

Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot added Forge and removed conflicts Automatically applied to PRs with merge conflicts labels Dec 17, 2024
@Pwuts Pwuts force-pushed the exploration/other-types-of-hooks branch from dfbdf81 to 55d3cc7 Compare December 17, 2024 17:34
@github-actions github-actions bot removed the Forge label Dec 17, 2024
@ntindle ntindle requested a review from Pwuts December 18, 2024 17:36
@Pwuts Pwuts enabled auto-merge December 18, 2024 17:49
@Pwuts Pwuts added this pull request to the merge queue Dec 18, 2024
Merged via the queue into dev with commit 746f3d4 Dec 18, 2024
22 checks passed
@Pwuts Pwuts deleted the exploration/other-types-of-hooks branch December 18, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end platform/blocks platform/frontend AutoGPT Platform - Front end size/xl
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants